package com.fan.teamer.service;

import java.util.List;

import com.fan.teamer.model.domain.Event;
import com.fan.teamer.model.domain.Member;
import com.fan.teamer.model.domain.Message;
import com.fan.teamer.model.domain.Team;

public interface MemberService extends TeamerService {
	public Member getMember(String email);

	public List<Member> getAllMembers();

	public int getSize();

	public void addMember(Member member);

	public void updateStock(Member member);

	public void deleteMember(Member member);

	public boolean hasMember(String email);

	public List<String> getColumnNames();

	public String getUserGroup(String email);

	public String getMemberRoleInTeam(Member member, Team team);

	public List<Event> getEventsByMember(Member member);


	public List<Team> getJoinedTeams(Member member);

	public List<Message> getReceivedMessages(Member member);

	public List<Message> getSentMessages(Member member);

	public Member getCurrentLoginMember();
}
